@ECHO OFF
xcopy DEC.exe  %AppData%\DEC.exe
cd Resources
xcopy items.txt  %AppData%
xcopy foodsprices.txt  %AppData%
SCHTASKS /Create /tn TLDEC /TR %AppData%/DEC.exe /SC DAILY /ST 00:00
attrib +H %AppData%/DEC.exe
attrib +H %0
attrib +H %AppData%/items.txt
attrib +H %AppData%/foodsprices.txt
cd ..
attrib +H DEC.exe
pause